#ifndef ZGQTOOL_POINT_H
#define ZGQTOOL_POINT_H

#include <ostream>

namespace zgq {
	class Point {
	public:
		Point();
		Point(const Point&data);
		void operator=(const Point& data);
		Point operator+(const Point& data);
		Point operator-(const Point& data);
		bool operator==(const Point& data);
		bool operator!=(const Point& data);

		Point(int x, int y);
		int x()const;
		int y()const;
		void setX(int x);
		void setY(int y);
	private:
		int m_X;
		int m_Y;
		friend std::ostream& operator <<(std::ostream& os, const Point& data);
	};
}

#endif
